using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Drawing;

namespace MULENetworking
{
    public interface IRemoteServer
    {
        //sendMsg, getChatUsers, ConnectToChat, DisconnectFromChat, 
        //DisconnectFromServer, CreateGame, JoinGame, Get currentGame, Get currentTimer, Get currentPlayer
        string remotingWorks();
        string ChatSession 
        { 
            get; 
        }

        void SendMessage(string msgToSend);

        void KickUser(string userName);

        ArrayList ChatClients
        {
            get;
        }

        ArrayList GamesList
        {
            get;
        }

        ArrayList PlayersList
        {
            get;
        }

        IGame CurrentGame
        {
            get;
            set;
        }

        ArrayList kicks
        {
            get;
            set;
        }

        int ConnectToChat(string newUserName);

        void DisconnectFromChat(string leavingUserName);

        void DisconnectFromServer(string disconnectUserName);

        IGame CreateGame(string creatorsName, string gameName, int level);

        IGame JoinGame(string gameName);

        void CreatePlayer(string name, IGame game, int avatar, Color color);
      }
}
